package com.tomtop;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ServletComponentScan("com.tomtop")
@ComponentScan(basePackages = "com.tomtop")
@EnableAutoConfiguration()
@SpringBootApplication
	
public class Application {
	public static void main( String[] args ) {
		SpringApplication.run(Application.class, args);
	}
}
